package kz.pompei.var.error;

import kz.pompei.var.atom.AtomStr;

public class ErrorUnclosedString extends Error {
  private final AtomStr atom;
  
  public ErrorUnclosedString(AtomStr atom) {
    super( atom.getStartLine(), atom.getStartCol(), atom.getStartLine(), atom.getStartCol() + 1 );
    this.atom = atom;
  }
  
  public AtomStr getAtom() {
    return atom;
  }
}
